//
//  YDStatusDAL.swift
//  YDWeibo01
//
//  Created by suibian on 16/8/22.
//  Copyright © 2016年 iitcast. All rights reserved.
//

import UIKit

class YDStatusDAL: NSObject {
//    保存微博数据
    func saveCache(response:[[String:AnyObject]]){
//        准备sql
        let sql = "INSERT INTO T_status (status,statusId,userId) VALUES (?,?,?)"
        
//        z执行sql
        YDSQLManager.shareTools.queue.inTransaction { (db, rollback) -> Void in
            db.excute
        }
    }

}
